package chaoyue.study.feature;

import java.util.List;
import java.util.stream.Collectors;

public class Main {
    public static void main(String[] args) {
        List<String> dataList = List.of("a", "b", "c");
        System.out.println(dataList.stream().peek(System.out::println).collect(Collectors.toSet()));
    }

    private static void doSome(String str) {
        System.out.println("hello " + str);
    }
}
